import 'package:get/get.dart';
import 'package:share_fit/app/controllers/space/train/train_state.dart';

class TrainLogic extends GetxController {

  final TrainState state = TrainState();

  void setRemind(bool value) {
    state.switchRemind = value;
    update(['train_remind_switch']);
  }

  void setTrainTime(String value) {
    state.trainTime = value;
    update(['train_time']);
  }
}